projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4b5ab4
)
(dired-readin): Insert headerline only if necessary. (Not in
author
André Spiegel
<spiegel@gnu.org>
Thu, 11 Jun 1998 15:32:33 +0000
(15:32 +0000)
committer
André Spiegel
<spiegel@gnu.org>
Thu, 11 Jun 1998 15:32:33 +0000
(15:32 +0000)
recursive listings.)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 864d1b6f876d5299e8c282bf7c29f6f6978efd45..07d119f98b49a8f107599286918d5d6a109a5b7d 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-597,7
+597,8
@@
If DIRNAME is already in a dired buffer, that buffer is used without refresh."
;; We need this to make the root dir have a header line as all
;; other subdirs have:
(goto-char (point-min))
- (dired-insert-headerline default-directory)
+ (if (not (looking-at "^ /.*:$"))
+ (dired-insert-headerline default-directory))
;; can't run dired-after-readin-hook here, it may depend on the subdir
;; alist to be OK.
)